$(document).ready(function () {
	var pageNames = {'index_admin.jsp': 0, 'user_manage.jsp': 1, 'order_manage.jsp':2, 'bbs_manage.js':3, 'poll_manage.jsp':4, '../logout_user.jsp':5};
	var lis = $('#nav-ul a');
	url = window.location.href.split('/');
	
	$(lis[pageNames[url[url.length - 1]]]).addClass('hover');
	
});